import { request } from "../request";





export let search = function(data){
    return request({
        url:'/goods/search',
        params:data
    })
}


export let projectList = function(data){
    return request({
        url:'/goods/projectList',
        params:data
    })
}

export let selectItemCategoryByParentId = function(data){
    return request({
        url:'/goods/itemCategory/selectItemCategoryByParentId',
        params:data
    })
}




export let updateTbItem = function(data){
    return request({
        url:'/goods/item/updateTbItem',
        params:data
    })
}
// 上传图片的接口
export let uploadUrl ='/api/upload'
export const host = "http://localhost:6688"; //代理请求



